package com.muqi.app.project.contants;

/**
 * 
 * @author John
 * @category 通过网络访问数据，后台接口统一定义在这里
 */
public class NetWorkApi {
	/**
	 * HTTP请求的IP地址
	 */
	// public final static String SERVER_IP =
	// "http://222.75.162.202:20003/index.php/";// 服务器地址
	// public final static String SERVER_IP =
	// "http://222.75.162.202:20001/index.php/";// 服务器地址
	public final static String IMA_IP = "http://222.75.162.202:20001/";
	//public final static String SERVER_IP = "http://222.75.162.202:20001/index.php/";// qlearn服务器地址
  public final static String SERVER_IP = "http://218.95.174.127/index.php/";// qlearn服务器地址

	
	/******************************* 请求服务的模块名以及方法名 ******************************/

	/******************************* jiaowenhui api ******************************/
	/**
	 * 获取Hx用户信息
	 */
	public final static String GET_HX_USERINFOS_API = "common/common/post_friendinfo";
	/**
	 * 获取Hx群信息
	 */
	public final static String Get_HxGroupInfos_Api = "app/group/get_groupinfo/";
	/**
	 * 搜索好友
	 */
	public static final String SEARCH_FRIENDS_API = "common/common/get_hx_id/";
	/**
	 * 获取用户基本资料接口
	 */
	public final static String GET_USER_BASEINFOS_API = "common/common/get_userinfo/";
	/**
	 * 用户登录接口
	 */
	public final static String Login_Api = "common/login/logined/";
	/**
	 * 用户注册接口
	 */
	public final static String Register_Api = "common/register/registUser/";

	/**
	 *  父母 忘记密码接口
	 */
	public final static String Forget_Pwd_Api = "user_con/find_password/";
	
	/**
	 *  学生 忘记密码接口
	 */
	public final static String Forget_Spwd_Api = "user_con/find_passwordByName/";
	/**
	 * 用户获取验证码接口
	 */
	public final static String CheckCode_Api = "common/register/send_roundstr/";
	/**
	 * 协议相关
	 */
	public final static String Propotal_Api = "app/common/guanyuwomen_app_web/";
	/**
	 * 用户上传头像接口
	 */
	public final static String Upload_User_Avatar = "app/register/uploadheadpic/";

	/**
	 * 意见反馈
	 */
	public static final String Submit_Opinion_Api = "users/submit_suggestion/";

	/**
	 * 上传头像
	 */
	public static final String UPLOAD_AVATAR_API = "common/register/uploadAvatar";
	/**
	 * 更新用户信息
	 */
	public static final String UPDATE_USERINFO_API = "common/register/update_userinfo/";
	
	public static final String GET_USER_MOBILE = "common/register/get_user_info/";

	/**
	 *
	 */
	public final static String GET_CLASS_MEMBERS_API = "teacher/classmanager/classAllStudent/";
	/**
	 *
	 */
	public final static String GET_PARENTS_CHILDREN_API = "common/relationship/parentOwnStudent/";
	/**
	 *
	 */
	public final static String GET_CHILD_CLASSINFO_API = "common/relationship/studentOwnClass/";
	/**
	 * 通用评价列表
	 */
	public static final String GET_HOMEWORK_COMMENTLISTS_API = "common/comment/list_comment/";
	/**
	 * 通用发评价
	 */
	public static final String ADD_MYCOMMENT_TO_USER_API = "common/comment/add_comment/";
	/**
	 * 通用点赞
	 */
	public static final String PRAISE_TO_USER_API = "student/growtree/clickLikeGrowTree/";
	/**
	 * 获取作业列表
	 */
	public static final String GET_MY_HOMEWORK_LISTS_API = "student/classjob/listClassJobForStudent/";
	/**
	 * 获取作业details
	 */
	public static final String GET_MY_HOMEWORK_DETAIL_API = "student/classjob/detailClassJob/";
	/**
	 * confirm homework
	 */
	public static final String CONFIRM_HOMEWORK_MESSAGE_API = "student/classjob/confirmAndGiveFlower/";
	/**
	 * confirm homework with parents
	 */
	public static final String CONFIRM_HOMEWORK_WITH_PARENTS_API = "student/classjob/parentAndStudentConfirm/";
	/**
	 * 获取notice列表
	 */
	public static final String GET_MY_NOTICE_LISTS_API = "student/message/listMessageForStudent/";
	/**
	 * 获取notice detail
	 */
	public static final String GET_NOTICE_DETAILS_API = "student/message/detailMessage/";
	/**
	 * confirm notice
	 */
	public static final String CONFIRM_NOTICE_MESSAGE_API = "student/message/studentConfirmMessage/";
	/**
	 * 获得成长树
	 */
	public final static String GET_GROW_TREE_DATAS = "student/growtree/bigTreeData/";
	/**
	 * 获得成长树列表
	 */
	public final static String GET_GROWTRESS_LIST = "student/growtree/listGrowtree/";
	/**
	 * homework up pics
	 */
	public final static String UPLOAD_HOMEWORK_PICTURES = "teacher/classjob/uploadClassJobFiles/";
	/**
	 * 上传记录图片
	 */
	public final static String UPLOAD_RECORD_PICTURES = "student/growtree/uploadGrowPic/";

	public final static String UPLOAD_RECORD = "teacher/growtree/publishGrowtree/";
	/**
	 * 
	 */
	public final static String MY_RECORD_DETAIL_API = "student/growtree/detailGrowtree/";

	public static final String GET_STATISTICS_LIST = "student/evaluate/list_evaluateStatisticalForStudent/";

	public static final String GET_STATISTICS = "student/evaluate/evaluateStatisticalForStudent/";

	/**
	 * 获取作业完成时刻统计
	 */
	public final static String GET_HOMEWORK_STATISC = "student/classjob/classJobAnalysis/";

	/**
	 * 获取作业完成时刻统计列表
	 */
	// public final static String GET_HOMEWORK_STATISC_LIST =
	// "teacher/classjob/classJobTimeConsuming/";

	/**
	 * 获取陪伴次数统计
	 */
	public final static String GET_COMPANY_STATISC = "student/classjob/classJobAccStudent/";

	/**
	 * 获取陪伴次数统计列表
	 */
	// public final static String GET_COMPANY_STATISC_LIST =
	// "teacher/classjob/listClassJobAcc/";

	/**
	 * 获得获奖数据统计 成长报告
	 */
	public final static String GET_GROW_REWORD_STATISC = "student/growtree/praiseReportForStudent/";

	/**
	 * 获得活动数据统计 成长报告
	 */
	public final static String GET_GROW_MOVE_STATISC = "student/growtree/activityReportForStudent/";

	public static final String GET_MOVE_STATISC_LIST = "student/growtree/activityAnalysisDetailForStudent/";

	public static final String GET_REWORD_STATISC_LIST = "student/growtree/praiseAnalysisDetailForStudent/";
	public static final String GET_REWORD_STATISC = "student/growtree/praiseAnalysisForStudent/";

	public static final String GET_MOVE_STATISC = "student/growtree/activityAnalysisForStudent/";
	public static final String GET_PAY_TYPES = "common/common/list_VIPtype/";
	public static final String CREATE_CHARGE_ORDER_ID = "common/order/makeVipOrder/";

	public final static String CREDIT_TOP_API = "common/credit/userCreditsInfo/";
	public final static String CREDIT_LIST_API = "common/credit/userCreditsDetail/";
	/**
	 * 商城相关接口
	 */
	public final static String SHOP_TOP_BANNERS_API = "goods/shangpin/list_chaoshi_top/";
	public final static String SHOP_GOODS_LIST_API = "goods/shangpin/list_chaoshi/";

	public final static String SHOP_GOODS_DETIAL = "goods/shangpin/detail_shangpin/";
	public final static String SHOP_XUNI_GOODS_DETIAL = "common/prize/get_prize_info/";
	public final static String SHOP_GOODS_DETIAL_WEB = "goods/shangpin/detail_shangpin_jieshao/";

	public final static String ORDER_WITH_SCORE_GOODS_API = "goods/dingdan/liji_duihuan/";

	public final static String PAY_WITH_SCORE_GOODS_API = "goods/dingdan/credits_zhifu/";
	
	public final static String XUNI_GOODS_LIST_API= "common/prize/listPrizeForStudent/";
	public final static String ORDER_WITH_SCORE_XUNI_GOODS_API = "common/prize/makeOrderPrizeForStudent/";
	public final static String PAY_WITH_SCORE_XUNI_GOODS_API = "common/prize/payPrizeForCredit/";
	
	public final static String SHOP_XUNI_DETAIL_API = "student/prize/detail_prize_setup/";
	/**
	 * 地址列表
	 */
	public static final String GET_USER_ADDRESSLIST_API = "goods/dizhi/list_dizhi/";
	/**
	 * 增加修改地址
	 */
	public static final String CREATE_USER_ADDRESS_API = "goods/dizhi/save_dizhi/";
	/**
	 * 删除地址
	 */
	public static final String DELETE_USER_ADDRESS_API = "goods/dizhi/delete_dizhi/";

	public static final String APPLAY_ADD_INTEGERAL = "student/growtree/applyGrowTreeForStudent/";

	public static final String DELET_RECORD = "student/growtree/deleteGrowtree/";

	public static final String JUBAO_API = "student/growtree/reportGrowTreeForStudent/";

	public static final String ZHUANZAI_API = "student/growtree/copyGrowTreeToStudent/";

	public static final String LIKE_LIST_API = "teacher/growtree/listClickLikeGrowTree/";
	
	/**
	 *  关注与粉丝
	 */
	public static final String MY_FUN_API = "common/group/listFunsFriend/";
	public static final String MY_CONCERN_API = "common/group/listFollowFriend/";
	public static final String MY_CONCERN_ACTION_API ="common/group/followFriend/";
	
	/**
	 *  订单相关的
	 */
	public static final String Mine_Order_Delete_Api ="goods/dingdan/delete_dingdan/";

	public static final String Mine_Order_List_Api = "goods/dingdan/list_dingdan/";
	
	public static final String GET_USER_INFO = "common/common/get_userSomeThingData/";
	
	public static final String ABOUT_API = "common/common/guanyuwomen/";
	
	public static final String FADEBACK_API = "user_con/submit_suggestion/";
	
	public static final String MODIFY_PASS = "user_con/modify_password/";
	
	/**
	 *  父母绑定孩子的操作
	 */
	public static final String ADD_CHILD_API = "student/parent_student/associate_student/";
	public static final String DELETE_CHILD_API = "student/parent_student/relieve_relationship/";
	/**
	 *  删除作业和通知
	 */
	public static final String DELET_HOME_WORK = "student/classjob/del_class_job_for_student/";
	public static final String DELET_NOTICE = "student/message/del_message_for_student/";
	
	
	public static final String HOME_BANNER_API = "user_con/get_home_lunbotu/";
	
	public static final String GET_BODY_API = "common/common/get_userWeightAndHeight/";
	public static final String UPDATE_BODY_API = "common/common/update_userWeightAndHeight/";
	
	
	public static final String GET_CLASSROOMVIDEO_API = "student/online_study/index/";
	public static final String GET_VIDEO_LIST_API = "student/online_study/get_vedio_item/";
	
	/**
	 *  授权tv端登录的接口
	 */
	public static final String TV_LOGIN_API= "common/common/relate_idCard/";
	
	public static final String COMPREHENSIVE_API= "student/growtree/reportGrowTreeByScoreForStudent/";
	
	public static final String GET_GROWRECORD_TYPE_API= "student/growtree/growtreeListByTypeForStudent/";
	
	public static final String GET_LAST_GROWRECORD_API= "student/growtree/lastGrowTreeByTypeForStudent/";
	
	public static final String GET_LAST_COMMENT_API= "student/evaluate/evaluate_today/";

	/**
	 * 获取某个老师详情
	 */
	public static final String GET_TEACHER_INFO_API = "http://222.75.162.202:20003/index.php/categorys/getTeacherById/";
	public static final String GET_STUDY_STA_API = "student/study_info/getStuyInfoForStudentInErrorAnalyze/";
	public static final String GET_EXAMINATION_API = "student/study_info/getWeakSportForStudent/";
	public static final String GET_RESOLVE_API = "student/study_info/getCommentByQuestionId/";
	/******************************* 一些常量信息 ******************************/
	/**
	 * 请求成功
	 */
	public final static String REQUEST_SUCCESS = "Success";
	/**
	 * 网络断开
	 */
	public final static String REQUEST_NETWORK_BREAKED = "您的网络已网络断开";
	/**
	 * 请求失败
	 */
	public final static String REQUEST_FAILED = "服务器连接失败,请稍后";
	/**
	 * 数据解析失败
	 */
	public final static String REQUEST_JSON_FAILED = "抱歉,数据解析失败,请稍后再试";
	/**
	 * 请求返回值--成功
	 */
	public final static int RETURN_SUCCESS = 1;
	/**
	 * 请求返回值--失败
	 */
	public static int RETURN_ERROR = 0;
	/**
	 * 请求返回值--网络断开
	 */
	public final static int RETURN_NETWORK_BREAKED = -1;
	/**
	 * 请求返回值--json err
	 */
	public final static int RETURN_JSON_FAILED = -2;

	

	





}
